find_package(Qt5 REQUIRED COMPONENTS Core)

add_library(VideoManager
    VideoManager.h VideoManager.cpp
    VideoSettings.h VideoSettings.cpp
)

target_link_libraries(VideoManager
    PUBLIC
        MPlayerLibs
        Qt5::OpenGL
        Qt5::Quick
)
target_link_libraries(VideoManager PRIVATE Qt5::Core)

target_include_directories(VideoManager
    INTERFACE
        ${CMAKE_CURRENT_SOURCE_DIR}
)
